home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 2887 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  775 b 

  1. From: Vtrap@msn.com (Ronald Bennett)
  2. Subject: RE: Help with simple code
  3. Date: 24 Jan 96 18:02:05 -0800
  4. References: <4dbak5$oij@ionews.io.org>
  5. Message-ID: <00001a80+00007168@msn.com>
  6. Path: news.msn.com!msn.com
  7. Newsgroups: comp.lang.c
  8. Organization: The Microsoft Network (msn.com)
  9.  
  10. I think that your function 'pow' would have to be defined prior to 
  11. your main function since it is not defined in the two standard 
  12. libraries that were included in your program.  Try writing a function 
  13. called 'pow'.  In that function you will have to write to formula you 
  14. want to use in your main function.  This will define the function 
  15. 'pow'.  Otherwise, 'pow' will be treated as a varible and therefore 
  16. would have to be declared in the main fuction.  I hope this answers 
  17. your question. 
  18.